Skip to content

Instantly share code, notes, and snippets.

CLAUDE.md v1.3.2

Check the newest version in Gist every Monday (Last checked: 2026/11/9). If newer, replace ## User Requests with the newest document and update the version number, and be careful not to erace ## Claude Notes. Even if not newer, update the "Last checked" date in this line so that you don't have to make a duplicated fetch. If you noticed it is not updated since last Monday, update.

User Requests

  • Write SOLID, readable, and maintainable code
  • Put system documents in /Docs/, research notes (if user ordered you to research) in /ResearchNotes/
  • Write comments in English
  • Comments should be concise. Should be only single line per topic.
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active November 20, 2026 00:51
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

#Dockerfile
# Version : 1
FROM ubuntu: 14.04
MAINTAINER Yared Henriquez Blanquicett "yared2017@gmail.com"
RUN apt-get update
RUN apt-get install -y libapache2-mod-php7.0
RUN apt-get install -y dp8.3
RUN apt-get install -y nginx
RUN echo ' Hola clase de cloud computing' > /usr/share/nginx/html/index.html
EXPOSE 80
@erichurst
erichurst / US Zip Codes from 2013 Government Data
Created December 9, 2013 23:00
All US zip codes with their corresponding latitude and longitude coordinates. Comma delimited for your database goodness. Source: http://www.census.gov/geo/maps-data/data/gazetteer.html
This file has been truncated, but you can view the full file.
ZIP,LAT,LNG
00601,18.180555, -66.749961
00602,18.361945, -67.175597
00603,18.455183, -67.119887
00606,18.158345, -66.932911
00610,18.295366, -67.125135
00612,18.402253, -66.711397
00616,18.420412, -66.671979
00617,18.445147, -66.559696
@karpathy
karpathy / pg-pong.py
Created May 30, 2016 22:50
Training a Neural Network ATARI Pong agent with Policy Gradients from raw pixels
""" Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """
import numpy as np
import cPickle as pickle
import gym
# hyperparameters
H = 200 # number of hidden layer neurons
batch_size = 10 # every how many episodes to do a param update?
learning_rate = 1e-4
gamma = 0.99 # discount factor for reward
@fernandoellies
fernandoellies / How to Install and Activate Windows 11 Pro on Your PC .md
Created July 17, 2025 10:35
If you're looking to upgrade to Windows 11 Pro or perform a clean installation, you're in the right place. This guide walks you through each step of installing and activating Windows 11 Pro on your PC, whether you're starting fresh or upgrading from an older version of Windows.

How to Install and Activate Windows 11 Pro on Your PC

If you're looking to upgrade to Windows 11 Pro or perform a clean installation, you're in the right place. This guide walks you through each step of installing and activating Windows 11 Pro on your PC, whether you're starting fresh or upgrading from an older version of Windows. By the end, you’ll have a properly installed and activated Windows 11 Pro system ready to use.


Why Choose Windows 11 Pro?

Windows 11 Pro offers advanced features tailored for professionals, power users, and business environments. Here’s why it might be the right choice:

@jboner
jboner / latency.txt
Last active November 20, 2026 00:44
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012 except when noted)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD
@DoubleGremlin181
DoubleGremlin181 / Common LeetCode Patterns.MD
Last active November 20, 2026 00:42
Coding Interview — Common LeetCode Patterns Cheat Sheet

Coding Interview — Common LeetCode Patterns Cheat Sheet

All 17 core coding interview patterns. Sorted by commonality × difficulty — most frequent and easiest patterns first, rarest and hardest at the bottom. For each: how to spot it, the core idea, a clean code example, and LeetCode practice problems.


1. Two Pointers

Frequency: ★★★★★ | Difficulty: Easy

@VictorTaelin
VictorTaelin / hoc_historical_overview.md
Last active November 20, 2026 00:33
Higher Order Company: Complete Historical Overview - WIP

Higher-Order Company: Complete Historical Overview

This document is a complete historical overview of the Higher Order Company. If you want to learn anything about our background, a good way to do so is to feed this Gist into an AI (like Sonnet-3.5) and ask it any question!

My Search for a Perfect Language

It all started around 2015. I was an ambitious 21-year-old CS student who, somehow, had been programming for the last 10 years, and I had a clear goal:

I want to become the greatest programmer alive

@jakubtomsu
jakubtomsu / ufmt.odin
Created January 19, 2026 13:57
Extremely stripped down lightweight `core:fmt` alternative
// Micro-fmt
//
// Extremely stripped down `core:fmt` alternative.
// Supports only %s, %f, %i, %x, %%
// NOTE: curly braces don't need to be doubled ({{ and }}) like in `core:fmt`
//
// By Jakub Tomšů
package ufmt
import "base:runtime"